<div class="content4 content41 page content" data-page="accountDetainedApplication" id="accountDetainedApplication">
	<p class="p1"><img src="../../../res/png/round2.png" />&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:changeTab(1)">项目总览</a>&nbsp;>&nbsp;<a class="financeDetail">融资项目详情</a>&nbsp;>&nbsp;<a href="javascript:void(0);">申请扣货</a></p>
	<div class="pickupForm">
		<div><span class="pickupTitle">请选择您要扣押的货物：</span></div>
		<div id="detaniedBody">
		</div>
		<script type="text/template" id="detainedTpl">
		{@each datas as it}
		<div class="detainedDataContent">
			<div class="detainedDataTitle">&nbsp;&nbsp;&nbsp;&nbsp;<span>理货单号：${it.tallyingNumber}</span><span>完成时间：${it.finishedDateTime}</span><span>理货公司：${it.logisticsCompanyName}</span><span>状态：${getValueByKey(37, it.tallyingState)}</span><a class="exceptionBtn">异常信息</a></div>
			<div class="detainedTableContent">
			<table id="detainedDataListBody">
				<tr>
					<th>箱号</th>
					<th>箱型尺寸</th>
					<th>货物</th>
					<th>数量-体积-重量</th>
					<th>异常</th>
					<th>状态</th>
					<th>操作</th>
				</tr>
				{@each it.containerInventorys as item}
				<tr inventoryHistoryId="${item.inventoryHistoryId}">
					<td>
						{@if item.detainedState == 1}
						<input class="detainedApplicationChecked" type="checkbox"/>
						{@else}
						<input style="visibility: hidden;" type="checkbox"/>
						{@/if}
						${item.caseNumber}
					</td>
					<td>${item.caseSize}</td>
					<td>
						{@each item.containerBulkstocks as that}
						${that.bulkstockName}（${that.specification}）
						{@/each}
					</td>
					<td>
						{@each item.containerBulkstocks as that}
						${that.quantity}${that.unit}-${that.weight}吨-${that.volume}m³
						{@/each}
					</td>
					<td>${getValueByKey(10, it.abnormal)}</td>
					<td>${getValueByKey(50, item.detainedState)}</td>
					<td><a href="javascript:void(0);" class="detainedDetail">详情</a> <a href="javascript:void(0);">物流追踪</a></td>
				</tr>
				{@/each}
				</table>
			</div>
		</div>
		{@/each}
		</script>
		<div class="w30p">扣货原因：<select class="delayReson" name="applicantReson" ></select></div>
		<div><span class="pickupTitle">申请扣货缘由：</span></div>
		<textarea placeholder="请填写扣货缘由" id="detainedApplicationReason"></textarea>
		<div class="footButton">
			<a id="detainedApplicationSubmitBtn">提&nbsp;&nbsp;&nbsp;交</a>
			<div class="error_info none"></div>
		</div>
	</div>
</div>